/*
 * UploadCarrier.h
 *
 *  Created on: 2013年8月22日
 *      Author: sun
 */
#ifndef UPLOADCARRIER_H_
#define UPLOADCARRIER_H_
#include "ITaskCarrier.h"
#include "SDFSRequest.h"

namespace sdfs {

	class UploadCarrier:public ITaskCarrier {
	public:
		UploadCarrier();
		virtual ~UploadCarrier();

		bool isTasktype(void* head);

		void	*Work(Request* req, Response* resp);
	private:
		ver_t m_ver;
		req_method_t m_method;
	};

} /* namespace sdfs */
#endif /* UPLOADCARRIER_H_ */           
